package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractAllEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 员工  能核销服务  记录表
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_employee_server")
@TableAlias("bes")
@ApiModel(value = "BusEmployeeServer对象", description = "员工  能核销服务  记录表")
public class BusEmployeeServer extends AbstractAllEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "employeeServerId", type = IdType.ASSIGN_ID)
    private Long employeeServerId;

    @ApiModelProperty(value = "员工Id")
    private Long employeeId;

    @ApiModelProperty(value = "1服务列表,2单次产品")
    private Integer serverType;

    @ApiModelProperty(value = "1服务列表serverId ,2单次产品serverId为物品id")
    private Long serverId;

}
